#ifndef _STM32FLASH_H
#define _STM32FLASH_H
#include "os_help.h"
void St_Flash_Init(void);
void St_Flash_Write_U32(unsigned int address,unsigned int data);
unsigned int St_Flash_Read_U32(unsigned int address);
void St_Flash_Page_Clear(unsigned int page);
//void St_Flash_Write(unsigned char* pBuffer,unsigned int WriteAddr,short NumByteTowrite);
void St_Flash_Read(unsigned char* pBuffer,unsigned int ReadAddr,short Num) ;
void STMFLASH_Write(u32 WriteAddr,u16 *pBuffer,u16 NumToWrite);
void St_Flash_Write(unsigned int* pBuffer,unsigned int WriteAddr,short NumByteTowrite);
#endif
